package com.panghl.service;

import com.alipay.api.AlipayApiException;

import java.util.Map;

/**
 * @Author:Panghl
 * @Description:
 * @Date: Created in 8:00 2022/5/7
 * @Modified By:
 */
public interface AliPayService {
    String tradeCreate(Long productId) throws AlipayApiException;


    void processOrder(Map<String, String> params);


    void cancelOrder(String orderNo) throws AlipayApiException;

    String queryOrder(String orderNo) throws AlipayApiException;


    void checkOrderStatus(String orderNo) throws AlipayApiException;


    public void refund(String orderNo, String reason);

    public String queryRefund(String orderNo);

    String queryBill(String billDate, String type);
}
